//
//  MyAudioRecorder.h
//  录音
//
//  Created by user on 16/6/13.
//  Copyright © 2016年 jingyi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface MyAudioRecorder : NSObject<AVAudioRecorderDelegate>

@property(nonatomic, strong)AVAudioSession *avSession;
@property(nonatomic, strong)AVAudioRecorder *avRecorder;

/**
 *  开始录制
 *
 *  @param fileName 文件名
 */
- (void)beginRecordByFileName:(NSString *)fileName;

@end
